home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / man / cmds.fmt / cc.man < prev    next >
Encoding:
Text File  |  1989-02-28  |  36.8 KB  |  925 lines

  1.  
  2.  
  3.  
  4. CC                        User Commands                        CC
  5.  
  6.  
  7.  
  8. NNAAMMEE
  9.      cc - GNU project C Compiler
  10.  
  11. SSYYNNOOPPSSIISS
  12.      cccc [ option ] ... file ...
  13.  
  14. WWAARRNNIINNGG
  15.      This man page is an extract of the documentation of the
  16.      _G_N_U _C _c_o_m_p_i_l_e_r and is limited to the meaning of the options.
  17.      It is updated only occasionally, because the GNU project
  18.      does not use nroff.  For complete, current documentation,
  19.      refer to the Info file ggcccc or the DVI file ggcccc..ddvvii which are
  20.      made from the Texinfo source file ggcccc..tteexxiinnffoo
  21.  
  22. DDEESSCCRRIIPPTTIIOONN
  23.      The _G_N_U _C _c_o_m_p_i_l_e_r uses a command syntax much like the Unix
  24.      C compiler. The _c_c program accepts options and file names as
  25.      operands. Multiple single-letter options may _n_o_t be grouped:
  26.      `--ddrr' is very different from `--dd --rr'.  When you invoke
  27.      _G_N_U _C_C, it normally does preprocessing, compilation, assem-
  28.      bly and linking. File names which end in `..cc' are taken as C
  29.      source to be preprocessed and compiled; compiler output
  30.      files plus any input files with names ending in `..ss' are
  31.      assembled; then the resulting object files, plus any other
  32.      input files, are linked together to produce an executable.
  33.      Command options allow you to stop this process at an inter-
  34.      mediate stage.  For example, the `--cc' option says not to run
  35.      the linker.  Then the output consists of object files output
  36.      by the assembler.  Other command options are passed on to
  37.      one stage.  Some options control the preprocessor and others
  38.      the compiler itself.
  39.  
  40. OOPPTTIIOONNSS
  41.      Here are the options to control the overall compilation pro-
  42.      cess, including those that say whether to link, whether to
  43.      assemble, and so on.
  44.  
  45.      --oo  _f_i_l_e
  46.           Place linker output in file _f_i_l_e.  This applies regard-
  47.           less to whatever sort of output is being produced,
  48.           whether it be an executable file, an object file, an
  49.           assembler file or preprocessed C code.  If `--oo' is not
  50.           specified, the default is to put an executable file in
  51.           `aa..oouutt', the object file `_s_o_u_r_c_e..cc' in `_s_o_u_r_c_e..oo', an
  52.           assembler file in `_s_o_u_r_c_e..ss', and preprocessed C on
  53.           standard output.
  54.  
  55.      --mm_t_m Compile code for the target machine given by _t_m.  If
  56.           this switch is not given, then the default is to com-
  57.           pile for the machine given by the MMAACCHHIINNEE environment
  58.           variable.  The following machine types are currently
  59.           defined:  6688000000, 6688001100, and ssuunn22 (all of which compile
  60.  
  61.  
  62.  
  63. Version 1.33             19 January 1989                        1
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. CC                        User Commands                        CC
  71.  
  72.  
  73.  
  74.           for the 68000 instruction set);  6688002200 and ssuunn33 (both
  75.           of which compile for the 68020 instruction set); and
  76.           ssppuurr.  See below for additional --mm switches to control
  77.           other machine-dependent features.
  78.  
  79.      --cc   Compile or assemble the source files, but do not link.
  80.           Produce object files with names made by replacing `..cc'
  81.           or `..ss' with `..oo' at the end of the input file names.
  82.           Do nothing at all for object files specified as input.
  83.  
  84.      --SS   Compile into assembler code but do not assemble.  The
  85.           assembler output file name is made by replacing `..cc'
  86.           with `..ss' at the end of the input file name.  Do noth-
  87.           ing at all for assembler source files or object files
  88.           specified as input.
  89.  
  90.      --EE   Run only the C preprocessor.  Preprocess all the C
  91.           source files specified and output the results to stan-
  92.           dard output.
  93.  
  94.      --vv   Compiler driver program prints the commands it executes
  95.           as it runs the preprocessor, compiler proper, assembler
  96.           and linker.  Some of these are directed to print their
  97.           own version numbers.
  98.  
  99.      --BB_p_r_e_f_i_x
  100.           Compiler driver program tries _p_r_e_f_i_x as a prefix for
  101.           each program it tries to run. These programs are `ccpppp',
  102.           `cccc11..IIttmm' (where _t_m is the target machine for which
  103.           code is being generated, such as given in the --mm
  104.           switch), `aass' and `lldd'.  For each subprogram to be run,
  105.           the compiler driver first tries the `--BB' prefix, if
  106.           any.  If that name is not found, or if `--BB' was not
  107.           Specified, the driver tries standard prefixes
  108.           corresponding to system directories.  If neither of
  109.           those results in a file name that is found, the unmodi-
  110.           fied program name is searched for using the directories
  111.           specified in your `PPAATTHH' environment variable.  The
  112.           run-time support file `ggnnuulliibb' is also searched for
  113.           using the `--BB' prefix, if needed.  If it is not found
  114.           there, the two standard prefixes above are tried, and
  115.           that is all. The file is left out of the link if it is
  116.           not found by those means.  Most of the time, on most
  117.           machines, you can do without it.
  118.  
  119.      These options control the C preprocessor, which is run on
  120.      each C source file before actual compilation.  If you use
  121.      the `--EE' option, nothing is done except C preprocessing.
  122.      Some of these options make sense only together with `--EE'
  123.      because they request preprocessor output that is not suit-
  124.      able for actual compilation.
  125.  
  126.  
  127.  
  128.  
  129. Version 1.33             19 January 1989                        2
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136. CC                        User Commands                        CC
  137.  
  138.  
  139.  
  140.      --CC   Tell the preprocessor not to discard comments. Used
  141.           with the `--EE' option.
  142.  
  143.      --II_d_i_r
  144.           Search directory _d_i_r for include files.
  145.  
  146.      --II--  Any directories specified with `--II' options before the
  147.           `--II--' option are searched only for the case of
  148.           `##iinncclluuddee ""_f_i_l_e""'; they are not searched for `##iinncclluuddee
  149.           <<_f_i_l_e>>'.  If additional directories are specified with
  150.           `--II' options after the `--II--', these directories are
  151.           searched for all `##iinncclluuddee' directives. (Ordinally _a_l_l
  152.           `--II' directories are used this way.) In addition, the
  153.           `--II--' option inhibits the use of the current directory
  154.           as the first search directory for `##iinncclluuddee ""_f_i_l_e""'.
  155.           Therefore, the current directory is searched only if it
  156.           is requested explicitly with `--II..'.  Specifying both
  157.           `--II--' and `--II..' allows you to control precisely which
  158.           directories are searched before the current one and
  159.           which are searched after.
  160.  
  161.      --nnoossttddiinncc
  162.           Do not search the standard system directories for
  163.           header files.  Only the directories you have specified
  164.           with `--II' options (and the current directory, if
  165.           appropriate) are searched.  Between `--nnoossttddiinncc' and
  166.           `--II--', you can eliminate all directories from the
  167.           search path except those you specify.
  168.  
  169.      --MM   Tell the preprocessor to output a rule suitable for
  170.           mmaakkee describing the dependencies of each source file.
  171.           For each source file, the preprocessor outputs one
  172.           mmaakkee-rule whose target is the object file name for that
  173.           source file and whose dependencies are all the files
  174.           `##iinncclluuddee'd in it.  This rule may be a single line or
  175.           may be continued `\\'-newline if it is long.`--MM' implies
  176.           `--EE'.
  177.  
  178.      --MMMM  Like `--MM' but the output mentions only the user-header
  179.           files included with `##iinncclluuddee ""_f_i_l_e""'.  System header
  180.           files included with `##iinncclluuddee <<_f_i_l_e>>' are omitted.`--MMMM'
  181.           implies `--EE'.
  182.  
  183.      --DD_m_a_c_r_o
  184.           Define macro _m_a_c_r_o with the empty string as its defini-
  185.           tion.
  186.  
  187.      --DD_m_a_c_r_o=_d_e_f_n
  188.           Define macro _m_a_c_r_o as _d_e_f_n.
  189.  
  190.      --UU_m_a_c_r_o
  191.           Undefine macro _m_a_c_r_o.
  192.  
  193.  
  194.  
  195. Version 1.33             19 January 1989                        3
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202. CC                        User Commands                        CC
  203.  
  204.  
  205.  
  206.      --TT   Support ANSI C trigraphs.  You don't want to know about
  207.           this brain-damage.  The `--aannssii' option also has this
  208.           effect.
  209.  
  210.      These options control the details of C compilation itself.
  211.  
  212.      --aannssii
  213.           Support all ANSI standard C programs.  This turns off
  214.           certain features of GNU C that are incompatible with
  215.           ANSI C, such as the aassmm, iinnlliinnee and ttyyppeeooff keywords,
  216.           and predefined macros such as uunniixx and vvaaxx that iden-
  217.           tify the type of system you are using.  It also enables
  218.           the undesirable and rarely used ANSI trigraph feature.
  219.           The `--aannssii' option does not cause non-ANSI programs to
  220.           be rejected gratuitously.  For that, `--ppeeddaannttiicc' is
  221.           required in addition to `--aannssii'.  The macro
  222.           ____SSTTRRIICCTT__AANNSSII____ is predefined when the `-ansi' option
  223.           is used.  Some header files may notice this macro and
  224.           refrain from declaring certain functions or defining
  225.           certain macros that the ANSI standard doesn't call for;
  226.           this is to avoid interfering with any programs that
  227.           might use these names for other things.
  228.  
  229.      --ttrraaddiittiioonnaall
  230.           Attempt to support some aspects of traditional C com-
  231.           pilers.  Specifically:
  232.           * All eexxtteerrnn declarations take effect globally even if
  233.           they are written inside of a function definition.  This
  234.           includes implicit declarations of functions.
  235.           * The keywords ttyyppeeooff, iinnlliinnee, ssiiggnneedd, ccoonnsstt and vvoollaa--
  236.           ttiillee are not recognized.
  237.           * Comparisons between pointers and integers are always
  238.           allowed.
  239.           * Integer types uunnssiiggnneedd sshhoorrtt and uunnssiiggnneedd cchhaarr pro-
  240.           mote to uunnssiiggnneedd iinntt.
  241.           * Out-of-range floating point literals are not an
  242.           error.
  243.           * All automatic variables not declared rreeggiisstteerr are
  244.           preserved by lloonnggjjmmpp.  Ordinarily, GNU C follows ANSI
  245.           C: automatic variables not declared vvoollaattiillee may be
  246.           clobbered.
  247.           * In the preprocessor, comments convert to nothing at
  248.           all, rather than to a space.  This allows traditional
  249.           token concatenation.
  250.           * In the preprocessor, macro arguments are recognized
  251.           within string constants in a macro definition (and
  252.           their values are stringified, though without additional
  253.           quote marks, when they appear in such a context).  The
  254.           preprocessor also considers a string constant to end at
  255.           a newline.
  256.           * The predefined macro ____SSTTDDCC____ is not defined when you
  257.           use `--ttrraaddiittiioonnaall', but ____GGNNUUCC____ is (since the GNU
  258.  
  259.  
  260.  
  261. Version 1.33             19 January 1989                        4
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268. CC                        User Commands                        CC
  269.  
  270.  
  271.  
  272.           extensions which ____GGNNUUCC____ indicates are not affected by
  273.           `--ttrraaddiittiioonnaall').  If you need to write header files
  274.           that work differently depending on whether `--ttrraaddii--
  275.           ttiioonnaall' is in use, by testing both of these predefined
  276.           macros you can distinguish four situations: GNU C,
  277.           traditional GNU C, other ANSI C compilers, and other
  278.           old C compilers.
  279.  
  280.      --OO   Optimize.  Optimizing compilation takes somewhat more
  281.           time, and a lot more memory for a large function.
  282.           Without `--OO', the compiler's goal is to reduce the cost
  283.           of compilation and to make debugging produce the
  284.           expected results.  Statements are independent: if you
  285.           stop the program with a breakpoint between statements,
  286.           you can then assign a new value to any variable or
  287.           change the program counter to any other statement in
  288.           the function and get exactly the results you would
  289.           expect from the source code.  Without `--OO', only vari-
  290.           ables declared rreeggiisstteerr are allocated in registers.
  291.           The resulting compiled code is a little worse than pro-
  292.           duced by PCC without `--OO'.
  293.           With `--OO', the compiler tries to reduce code size and
  294.           execution time.  Some of the `--ff' options described
  295.           below turn specific kinds of optimization on or off.
  296.  
  297.      --gg   Produce debugging information in the operating system's
  298.           native format (for DBX or SDB).  GDB also can work with
  299.           this debugging information.  Unlike most other C com-
  300.           pilers, GNU CC allows you to use `--gg' with`--OO'.
  301.           The short cuts taken by optimized code may occasionally
  302.           produce surprising results: some variables you declared
  303.           may not exist at all; flow of control may briefly move
  304.           where you did not expect it; some statements may not be
  305.           executed because they compute constant results or their
  306.           values were already at hand; some statements may exe-
  307.           cute in different places because they were moved out of
  308.           loops.  Nevertheless it proves possible to debug optim-
  309.           ized output.  This makes it reasonable to use the
  310.           optimizer for programs that might have bugs.
  311.  
  312.      --gggg  Produce debugging information in GDB's (the GNU
  313.           Debugger's) own format.  This requires the GNU assem-
  314.           bler and linker in order to work.  This feature will
  315.           probably be eliminated.  It was intended to enable GDB
  316.           to read the symbol table faster, but it doesn't result
  317.           in enough of a speedup to be worth the larger object
  318.           files and executables.  We are working on other ways of
  319.           making GDB start even faster, which work with DBX for-
  320.           mat debugging information and could be made to work
  321.           with SDB format.
  322.  
  323.      --ww   Inhibit all warning messages.
  324.  
  325.  
  326.  
  327. Version 1.33             19 January 1989                        5
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334. CC                        User Commands                        CC
  335.  
  336.  
  337.  
  338.      --WW   Print extra warning messages for these events:
  339.           * An automatic variable is used without first being
  340.           initialized.  These warnings are possible only in
  341.           optimizing compilation, because they require data flow
  342.           information that is computed only when optimizing. They
  343.           occur only for variables that are candidates for regis-
  344.           ter allocation. Therefore, they do not occur for a
  345.           variable that is declared vvoollaattiillee,, or whose address is
  346.           taken, or whose size is other than 1,2,4 or 8 bytes.
  347.           Also, they do not occur for structures, unions or
  348.           arrays, even when they are in registers.  Note that
  349.           there may be no warning about a variable that is used
  350.           only to compute a value that itself is never used,
  351.           because such computations may be deleted by the flow
  352.           analysis pass before the warnings are printed.  These
  353.           warnings are made optional because GNU CC is not smart
  354.           enough to see all the reasons why the code might be
  355.           correct despite appearing to have an error.
  356.           * A nonvolatile automatic variable might be changed by
  357.           a call to lloonnggjjmmpp.  These warnings as well are possible
  358.           only in optimizing compilation.  The compiler sees only
  359.           the calls to sseettjjmmpp.  It cannot know where lloonnggjjmmpp will
  360.           be called; in fact, a signal handler could call it at
  361.           any point in the code. As a result, you may get a warn-
  362.           ing even when there is in fact no problem because
  363.           lloonnggjjmmpp cannot in fact be called at the place which
  364.           would cause a problem.
  365.           * A function can return either with or without a value.
  366.           (Falling off the end of the function body is considered
  367.           returning without a value.) Spurious warning can occur
  368.           because GNU CC does not realize that certain functions
  369.           (including aabboorrtt and lloonnggjjmmpp) will never return.
  370.           * An expression-statement contains no side effects.
  371.  
  372.      --WWiimmpplliicciitt
  373.           Warn whenever a function is implicitly declared.
  374.  
  375.      --WWrreettuurrnn--ttyyppee
  376.           Warn whenever a function is defined with a return-type
  377.           that defaults to iinntt. Also warn about any rreettuurrnn state-
  378.           ment with no return-value in a function whose return-
  379.           type is not vvooiidd.
  380.  
  381.      --WWuunnuusseedd
  382.           Warn whenever a local variable is unused aside from its
  383.           declaration.
  384.  
  385.      --WWccoommmmeenntt
  386.           Warn whenever a comment-start sequence `/*' appears in
  387.           a comment.
  388.  
  389.      --WWaallll
  390.  
  391.  
  392.  
  393. Version 1.33             19 January 1989                        6
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400. CC                        User Commands                        CC
  401.  
  402.  
  403.  
  404.           All of the above --WW options combined.
  405.  
  406.      --WWwwrriittee--ssttrriinnggss
  407.           Give string constants the type ccoonnsstt cchhaarr[[_l_e_n_g_t_h]] so
  408.           that copying the address of one into a non-ccoonnsstt cchhaarr **
  409.           pointer will get a warning.  These warnings will help
  410.           you find at compile time code that can try to write
  411.           into a string constant, but only if you have been very
  412.           careful about using ccoonnsstt in declarations and proto-
  413.           types.  Otherwise, it will just be a nuisance; this is
  414.           why we did not make --WWaallll request these warnings.
  415.  
  416.      --pp   Generate extra code to write profile information suit-
  417.           able for the analysis program pprrooff.
  418.  
  419.      --ppgg  Generate extra code to write profile information suit-
  420.           able for the analysis program ggpprrooff.
  421.  
  422.      --ll_l_i_b_r_a_r_y
  423.           Search a standard list of directories for a library
  424.           named _l_i_b_r_a_r_y, which is actually a file named
  425.           `lliibb_l_i_b_r_a_r_y..aa'.  The linker uses this file as if it had
  426.           been specified precisely by name.  The directories
  427.           searched include several standard system directories
  428.           plus any that you specify with `--LL'.  Normally the
  429.           files found this way are library files - archive files
  430.           whose members are object files. The linker handles an
  431.           archive file by scanning through it for members which
  432.           define symbols that have so far been referenced but not
  433.           defined. But if the file that is found is an ordinary
  434.           object file, it is linked in the usual fashion. The
  435.           only difference between an `--ll' option and specifying a
  436.           file name is that `--ll' searches several directories.
  437.  
  438.      --LL_d_i_r
  439.           Add directory _d_i_r to the list of directories to be
  440.           searched for `--ll'.
  441.  
  442.      --nnoossttddlliibb
  443.           Don't use the standard system libraries and startup
  444.           files when linking. Only the files you specify (plus
  445.           `ggnnuulliibb') will be passed to the linker.
  446.  
  447.      --mm_m_a_c_h_i_n_e_s_p_e_c
  448.           Machine-dependent option specifying something about the
  449.           type of target machine.
  450.  
  451.           These are the `--mm' options defined for 68000-class
  452.           machines:
  453.  
  454.              --mm6688888811
  455.                Generate output containing 68881 instructions for
  456.  
  457.  
  458.  
  459. Version 1.33             19 January 1989                        7
  460.  
  461.  
  462.  
  463.  
  464.  
  465.  
  466. CC                        User Commands                        CC
  467.  
  468.  
  469.  
  470.                floating point.  This is the default if you use
  471.                the unmodified sources.
  472.  
  473.              --mmffppaa
  474.                Generate output containing Sun FPA instructions
  475.                for floating point.
  476.  
  477.              --mmssoofftt--ffllooaatt
  478.                Generate output containing library calls for
  479.                floating point.
  480.  
  481.              --mmsshhoorrtt
  482.                Consider type iinntt to be 16 bits wide, like sshhoorrtt
  483.                iinntt.
  484.  
  485.              --mmnnoobbiittffiieelldd
  486.                Do not use the bit-field instructions. ``--mm6688000000''
  487.                implies ``--mmnnoobbiittffiieelldd''..
  488.  
  489.              --mmbbiittffiieelldd
  490.                Do use the bit-field instructions. ``--mm6688002200''
  491.                implies ``--mmbbiittffiieelldd''.. This is the default if you
  492.                use the unmodified sources.
  493.  
  494.              --mmrrttdd
  495.                Use a different function-calling convention, in
  496.                which functions that take a fixed number of argu-
  497.                ments return with the rrttdd instruction, which pops
  498.                their arguments while returning.  This saves one
  499.                instruction in the caller since there is no need
  500.                to pop the arguments there.  This calling conven-
  501.                tion is incompatible with the one normally used on
  502.                Unix, so you cannot use it if you need to call
  503.                libraries compiled with the Unix compiler.  Also,
  504.                you must provide function prototypes for all func-
  505.                tions that take variable numbers of arguments
  506.                (including pprriinnttff); otherwise incorrect code will
  507.                be generated for calls to those functions.  In
  508.                addition, seriously incorrect code will result if
  509.                you call a function with too many arguments.
  510.                (Normally, extra arguments are harmlessly
  511.                ignored.) The rrttdd instruction is supported by the
  512.                68010 and 68020 processors, but not by the 68000.
  513.  
  514.                These are the `--mm' options defined in the VAX
  515.                machine description:
  516.  
  517.              --mmuunniixx
  518.                Do not output certain jump instructions (aaoobblleeqq
  519.                and so on) that the Unix assembler for the VAX
  520.                cannot handle across long ranges.
  521.  
  522.  
  523.  
  524.  
  525. Version 1.33             19 January 1989                        8
  526.  
  527.  
  528.  
  529.  
  530.  
  531.  
  532. CC                        User Commands                        CC
  533.  
  534.  
  535.  
  536.              --mmggnnuu
  537.                Do output those jump instructions, on the assump-
  538.                tion that you will assemble with the GNU assem-
  539.                bler.
  540.  
  541.              --mmgg
  542.                Output code for g-format floating point numbers
  543.                instead of d-format.
  544.  
  545.      --ff_f_l_a_g
  546.           Specify machine-independent flags.  Most flags have
  547.           both positive and negative forms; the negative form of
  548.           `--ffffoooo' would be `--ffnnoo--ffoooo'.  In the table below, only
  549.           one of the forms is listed---the one which is not the
  550.           default.  You can figure out the other form by either
  551.           removing `nnoo--' or adding it.
  552.  
  553.              --ffffllooaatt--ssttoorree
  554.                Do not store floating-point variables in regis-
  555.                ters.  This prevents undesirable excess precision
  556.                on machines such as the 68000 where the floating
  557.                registers (of the 68881) keep more precision than
  558.                a ddoouubbllee is supposed to have.  For most programs,
  559.                the excess precision does only good, but a few
  560.                programs rely on the precise definition of IEEE
  561.                floating point.  Use `--ffffllooaatt--ssttoorree' for such pro-
  562.                grams.
  563.  
  564.              --ffnnoo--aassmm
  565.                Do not recognize aassmm, iinnlliinnee or ttyyppeeooff as a key-
  566.                word. These words may then be used as identifiers.
  567.  
  568.              --ffnnoo--ddeeffeerr--ppoopp
  569.                Always pop the arguments to each function call as
  570.                soon as that function returns.  Normally the com-
  571.                piler (when optimizing) lets arguments accumulate
  572.                on the stack for several function calls and pops
  573.                them all at once.
  574.  
  575.              --ffssttrreennggtthh--rreedduuccee
  576.                Perform the optimizations of loop strength reduc-
  577.                tion and elimination of iteration variables.
  578.  
  579.              --ffccoommbbiinnee--rreeggss
  580.                Allow the combine pass to combine an instruction
  581.                that copies one register into another.  This might
  582.                or might not produce better code when used in
  583.                addition to `--OO'.
  584.  
  585.              --ffffoorrccee--mmeemm
  586.                Force memory operands to be copied into registers
  587.                before doing arithmetic on them.  This may produce
  588.  
  589.  
  590.  
  591. Version 1.33             19 January 1989                        9
  592.  
  593.  
  594.  
  595.  
  596.  
  597.  
  598. CC                        User Commands                        CC
  599.  
  600.  
  601.  
  602.                better code by making all memory references poten-
  603.                tial common subexpressions.  When they are not
  604.                common subexpressions, instruction combination
  605.                should eliminate the separate register-load.
  606.  
  607.              --ffffoorrccee--aaddddrr
  608.                Force memory address constants to be copied into
  609.                registers before doing arithmetic on them.  This
  610.                may produce better code just as `--ffffoorrccee--mmeemm' may.
  611.  
  612.              --ffoommiitt--ffrraammee--ppooiinntteerr
  613.                Don't keep the frame pointer in a register for
  614.                functions that don't need one.  This avoids the
  615.                instructions to save, set up and restore frame
  616.                pointers; it also makes an extra register avail-
  617.                able in many functions.
  618.                IItt aallssoo mmaakkeess ddeebbuuggggiinngg iimmppoossssiibbllee..  On some
  619.                machines, such as the VAX, this flag has no
  620.                effect, because the standard calling sequence
  621.                automatically handles the frame pointer and noth-
  622.                ing is saved by pretending it doesn't exist.  The
  623.                machine-description macro FFRRAAMMEE__PPOOIINNTTEERR__RREEQQUUIIRREEDD
  624.                controls whether a target machine supports this
  625.                flag.
  626.  
  627.              --ffiinnlliinnee--ffuunnccttiioonnss
  628.                Integrate all simple functions into their callers.
  629.                The compiler heuristically decides which functions
  630.                are simple enough to be worth integrating in this
  631.                way.  If all calls to a given function are
  632.                integrated, and the function is declared ssttaattiicc,
  633.                then the function is normally not output as assem-
  634.                bler code in its own right.
  635.  
  636.              --ffkkeeeepp--iinnlliinnee--ffuunnccttiioonnss
  637.                Even if all calls to a given function are
  638.                integrated, and the function is declared ssttaattiicc,
  639.                nevertheless output a separate run-time callable
  640.                version of the function.
  641.  
  642.              --ffwwrriittaabbllee--ssttrriinnggss
  643.                Store string constants in the writable data seg-
  644.                ment and don't uniquize them.  This is for compa-
  645.                tibility with old programs which assume they can
  646.                write into string constants.  Writing into string
  647.                constants is a very bad idea; ``constants'' should
  648.                be constant.
  649.  
  650.              --ffccoonndd--mmiissmmaattcchh
  651.                Allow conditional expressions with mismatched
  652.                types in the second and third arguments.  The
  653.                value of such an expression is void.
  654.  
  655.  
  656.  
  657. Version 1.33             19 January 1989                       10
  658.  
  659.  
  660.  
  661.  
  662.  
  663.  
  664. CC                        User Commands                        CC
  665.  
  666.  
  667.  
  668.              --ffnnoo--ffuunnccttiioonn--ccssee
  669.                Do not put function addresses in registers; make
  670.                each instruction that calls a constant function
  671.                contain the function's address explicitly.  This
  672.                option results in less efficient code, but some
  673.                strange hacks that alter the assembler output may
  674.                be confused by the optimizations performed when
  675.                this option is not used.
  676.  
  677.              --ffvvoollaattiillee
  678.                Consider all memory references through pointers to
  679.                be volatile.
  680.  
  681.              --ffsshhaarreedd--ddaattaa
  682.                Requests that the data and non-ccoonnsstt variables of
  683.                this compilation be shared data rather than
  684.                private data.  The distinction makes sense only on
  685.                certain operating systems, where shared data is
  686.                shared between processes running the same program,
  687.                while private data exists in one copy per process.
  688.  
  689.              --ffuunnssiiggnneedd--cchhaarr
  690.                Let the type cchhaarr be the unsigned, like uunnssiiggnneedd
  691.                cchhaarr.  Each kind of machine has a default for what
  692.                cchhaarr should be. It is either like uunnssiiggnneedd cchhaarr by
  693.                default of like ssiiggnneedd cchhaarr by default. (Actually,
  694.                at present, the default is always signed.) The
  695.                type cchhaarr is always a distinct type from either
  696.                ssiiggnneedd cchhaarr or uunnssiiggnneedd cchhaarr, even though its
  697.                behavior is always just like one of those two.
  698.                Note that this is equivalent to `--ffnnoo--ssiiggnneedd--
  699.                cchhaarr', which is the negative form of `--ffssiiggnneedd--
  700.                cchhaarr'.
  701.  
  702.              --ffssiiggnneedd--cchhaarr
  703.                Let the type cchhaarr be the same as ssiiggnneedd cchhaarr.
  704.                Note that this is equivalent to `--ffnnoo--uunnssiiggnneedd--
  705.                cchhaarr', which is the negative form of `--ffuunnssiiggnneedd--
  706.                cchhaarr'.
  707.  
  708.              --ffffiixxeedd--_r_e_g
  709.                Treat the register named _r_e_g as a fixed register;
  710.                generated code should never refer to it (except
  711.                perhaps as a stack pointer, frame pointer or in
  712.                some other fixed role). _r_e_g must be the name of a
  713.                register.  The register names accepted are
  714.                machine-specific and are defined in the
  715.                RREEGGIISSTTEERR__NNAAMMEESS macro in the machine description
  716.                macro file.  This flag does not have a negative
  717.                form, because it specifies a three-way choice.
  718.  
  719.              --ffccaallll--uusseedd--_r_e_g
  720.  
  721.  
  722.  
  723. Version 1.33             19 January 1989                       11
  724.  
  725.  
  726.  
  727.  
  728.  
  729.  
  730. CC                        User Commands                        CC
  731.  
  732.  
  733.  
  734.                Treat the register named _r_e_g as an allocatable
  735.                register that is clobbered by function calls.  It
  736.                may be allocated for temporaries or variables that
  737.                do not live across a call.  Functions compiled
  738.                this way will not save and restore the register
  739.                _r_e_g.  Use of this flag for a register that has a
  740.                fixed pervasive role in the machine's execution
  741.                model, such as the stack pointer or frame pointer,
  742.                will produce disastrous results.  This flag does
  743.                not have a negative form, because it specifies a
  744.                three-way choice.
  745.  
  746.              --ffccaallll--ssaavveedd--_r_e_g
  747.                Treat the register named _r_e_g as an allocatable
  748.                register saved by functions.  It may be allocated
  749.                even for temporaries or variables that live across
  750.                a call.  Functions compiled this way will save and
  751.                restore the register _r_e_g if they use it.  Use of
  752.                this flag for a register that has a fixed per-
  753.                vasive role in the machine's execution model, such
  754.                as the stack pointer or frame pointer, will pro-
  755.                duce disastrous results.  A different sort of
  756.                disaster will result from the use of this flag for
  757.                a register in which function values may be
  758.                returned.  This flag does not have a negative
  759.                form, because it specifies a three-way choice.
  760.  
  761.      --dd_l_e_t_t_e_r_s Says to make debugging dumps at times specified by
  762.                _l_e_t_t_e_r_s.  Here are the possible letters:
  763.  
  764.              rr Dump after RTL generation.
  765.  
  766.              jj Dump after first jump optimization.
  767.  
  768.              JJ Dump after last jump optimization.
  769.  
  770.              ss Dump after CSE (including the jump optimization
  771.                that sometimes follows CSE).
  772.  
  773.              LL Dump after loop optimization.
  774.  
  775.              ff Dump after flow analysis.
  776.  
  777.              cc Dump after instruction combination.
  778.  
  779.              ll Dump after local register allocation.
  780.  
  781.              gg Dump after global register allocation.
  782.  
  783.              mm Print statistics on memory usage, at the end of
  784.                the run.
  785.  
  786.  
  787.  
  788.  
  789. Version 1.33             19 January 1989                       12
  790.  
  791.  
  792.  
  793.  
  794.  
  795.  
  796. CC                        User Commands                        CC
  797.  
  798.  
  799.  
  800.      --ppeeddaannttiicc Issue all the warnings demanded by strict ANSI
  801.                standard C; reject all programs that use forbidden
  802.                extensions.  Valid ANSI standard C programs should
  803.                compile properly with or without this option
  804.                (though a rare few will require `--aannssii'.  However,
  805.                without this option, certain GNU extensions and
  806.                traditional C features are supported as well.
  807.                With this option, they are rejected.  There is no
  808.                reason to _u_s_e this option; it exists only to
  809.                satisfy pedants.
  810.  
  811. FFIILLEESS
  812.      file.c                    input file
  813.      file.o                    object file
  814.      a.out                     loaded output
  815.      /tmp/cc?                  temporary
  816.      /sprite/cmds/cpp          preprocessor
  817.       /sprite/cmds/cc1._t_m      compiler
  818.      /usr/local/lib/gcc-gnulib library need by GCC on some
  819.      machines
  820.      /sprite/lib/include/_t_m.md standard directory for machine-
  821.      dependent `#include' files
  822.      /sprite/lib/_t_m.md/libc.a  standard library
  823.      /sprite/lib/include       standard directory for `#include'
  824.      files
  825.  
  826. SSEEEE AALLSSOO
  827.      adb(1), ld(1), dbx(1), as(1)
  828.  
  829. BBUUGGSS
  830.      Bugs should be reported to bug-gcc@prep.ai.mit.edu. Bugs
  831.      tend actually to be fixed if they can be isolated, so it is
  832.      in your interest to report them in such a way that they can
  833.      be easily reproduced.
  834.  
  835. CCOOPPYYIINNGG
  836.      Copyright (c) 1988 Free Software Foundation, Inc.
  837.      Permission is granted to make and distribute verbatim copies
  838.      of this manual provided the copyright notice and this per-
  839.      mission notice are preserved on all copies.
  840.      Permission is granted to copy and distribute modified ver-
  841.      sions of this manual under the conditions for verbatim copy-
  842.      ing, provided that the entire resulting derived work is dis-
  843.      tributed under the terms of a permission notice identical to
  844.      this one.
  845.      Permission is granted to copy and distribute translations of
  846.      this manual into another language, under the above condi-
  847.      tions for modified versions, except that this permission
  848.      notice may be included in translations approved by the Free
  849.      Software Foundation instead of in the original English.
  850.  
  851.  
  852.  
  853.  
  854.  
  855. Version 1.33             19 January 1989                       13
  856.  
  857.  
  858.  
  859.  
  860.  
  861.  
  862. CC                        User Commands                        CC
  863.  
  864.  
  865.  
  866. AAUUTTHHOORRSS
  867.      See the GNU CC Manual for the contributors to GNU CC.
  868.  
  869.  
  870.  
  871.  
  872.  
  873.  
  874.  
  875.  
  876.  
  877.  
  878.  
  879.  
  880.  
  881.  
  882.  
  883.  
  884.  
  885.  
  886.  
  887.  
  888.  
  889.  
  890.  
  891.  
  892.  
  893.  
  894.  
  895.  
  896.  
  897.  
  898.  
  899.  
  900.  
  901.  
  902.  
  903.  
  904.  
  905.  
  906.  
  907.  
  908.  
  909.  
  910.  
  911.  
  912.  
  913.  
  914.  
  915.  
  916.  
  917.  
  918.  
  919.  
  920.  
  921. Version 1.33             19 January 1989                       14
  922.  
  923.  
  924.  
  925.